package com.hotel.app.controller;

import com.hotel.app.service.PayLogFeign;
import com.hotel.common.vo.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @desc:
 * @author: ZHY
 * @date: 2024/6/17,20:34
 */
@RestController
@RequestMapping("/api/pay")
public class PayLogController {

    @Autowired
    private PayLogFeign payLogFeign;

    /**
     * 消费记录
     */
    @RequestMapping("/payLogs")
    public R findPayLogs() {

        return payLogFeign.findPayLogs();
    }

}
